package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/6/23 11:47
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "TeacherHistoryTask对象", description = "历史作业")
@Alias("TeacherHistoryTask")
public class TeacherHistoryTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业主题")
    private String homeworkTheme;

    @ApiModelProperty(value = "实训教师")
    private String teacherName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "下发时间")
    private Date publishTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "提交时间")
    private Date endTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "实际提交时间")
    private Date completeTime;

    @ApiModelProperty(value = "作业得分")
    private float score;

    @ApiModelProperty(value = "提交情况")
    private String status;



}
